<template>
	<div>
		<h1>IconsPage</h1>
	</div>
</template>

<script lang="ts" setup>
import { ref } from "vue";
import { copyText } from "@/util/clipboard";

const copyType = ref(false);

function copy(val: string) {
	copyText(val)
		.then(e => {
			console.log(e);
		})
		.catch(e => {
			console.error(e);
		});
}

function beforeLeave(activeName: string) {
	if (activeName === "3") return false;
}
</script>
